<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体的符合属性</title>
    <style>
        div{
            /* font-style: italic;
            font-weight: 700;
            font-size: 16px;
            font-family: "微软雅黑"; */
            /* 复合属性：简写的形式 */
            font:font-style font-weight font-size/line-height font-family;
            font:italic 700 16px "微软雅黑"
        }
    </style>
</head>
<body>
    <div>生死看淡，不服就干；小病就治，大病就死</div>
</body>
</html>